package es.deusto.ingenieria.aike.formulation;

public class Cell {
	
	private boolean isGoal;
	private boolean leftWall;
	private boolean topWall;
	private boolean bottomWall;
	private boolean rightWall;
	private boolean isCross;
	
	public Cell(){
		isGoal=false;
		leftWall=false;
		rightWall=false;
		topWall=false;
		isCross=false;
		bottomWall=false;
	}
	
	public Cell(boolean goal, boolean lWall, boolean tWall, boolean bWall, boolean rWall, boolean cross){
		isGoal=goal;
		leftWall=lWall;
		topWall=tWall;
		bottomWall=bWall;
		rightWall=rWall;
		isCross=cross;
	}
	
	public boolean isGoal() {
		return isGoal;
	}
	public void setGoal(boolean isGoal) {
		this.isGoal = isGoal;
	}
	public boolean isLeftWall() {
		return leftWall;
	}
	public void setLeftWall(boolean leftWall) {
		this.leftWall = leftWall;
	}
	public boolean isTopWall() {
		return topWall;
	}
	public void setTopWall(boolean topWall) {
		this.topWall = topWall;
	}
	public boolean isBottomWall() {
		return bottomWall;
	}
	public void setBottomWall(boolean bottomWall) {
		this.bottomWall = bottomWall;
	}
	public boolean isRightWall() {
		return rightWall;
	}
	public void setRightWall(boolean rightWall) {
		this.rightWall = rightWall;
	}
	public boolean isCross() {
		return isCross;
	}
	public void setCross(boolean isCross) {
		this.isCross = isCross;
	}
	
	public Object clone(){
		return new Cell (this.isGoal, this.leftWall, this.topWall, this.bottomWall, this.rightWall, this.isCross);
	}
	
	



}
